<?php

namespace app\admin\controller;


class Comment extends BaseController {
    public function read($id) {
        $query  = input('get.');
        $result = model('Comment')->getCommentListById($id, $query['type']);
        return show(config('code.success'), 'OK', $result);
    }
}